home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
C
/
LIB
/
UNIXLIB37B
/
!UnixLib37
/
src
/
clib
/
sys
/
h
/
uio
< prev
next >
Wrap
Text File
|
1996-11-09
|
1KB
|
51 lines
/****************************************************************************
*
* $Source: /unixb/home/unixlib/source/unixlib37/src/clib/sys/h/RCS/uio,v $
* $Date: 1996/10/30 22:04:51 $
* $Revision: 1.1 $
* $State: Rel $
* $Author: unixlib $
*
* $Log: uio,v $
* Revision 1.1 1996/10/30 22:04:51 unixlib
* Initial revision
*
***************************************************************************/
#ifndef __SYS_UIO_H
#define __SYS_UIO_H 1
#ifndef __STDDEF_H
#include <stddef.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Structure describing a section of memory. */
struct iovec
{
/* Starting address. */
void *iov_base;
/* Length in bytes. */
size_t iov_len;
};
/* Read data from file descriptor FD, and put the result in the
buffers described by VECTOR, which is a vector of COUNT `struct iovec's.
The buffers are filled in the order specified. */
int readv (int __fd, const struct iovec * __vector, size_t __count);
/* Write data pointed by the buffers described by VECTOR, which
is a vector of COUNT `struct iovec's, to file descriptor FD.
The data is written in the order specified. */
int writev (int __fd, const struct iovec * __vector, size_t __count);
#ifdef __cplusplus
}
#endif
#endif